frame-clock: Add 'compute-size' phase
authorJonas Ådahl <jadahl@gmail.com>
Tue, 24 Nov 2020 14:02:35 +0000 (15:02 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Mon, 7 Dec 2020 08:46:39 +0000 (09:46 +0100)
commite07fde5c81d9421a2479e92fa41a81e49aaab31e
tree1109449cbb04507a4ab4242fb4ef2a07bf58f97f
parent8f27b3fcf6fade010510796193d965f525fbebce
frame-clock: Add 'compute-size' phase

This will be handled between 'update' (which may trigger animation
ticks, CSS update, etc) and 'layout' which will allocate the widget
tree. It's meant to perform surface size computation, and is done
between these two phases in order to have an up to date state, and
letting the layout phase have an up to date size to layout in.
gdk/gdkframeclock.c
gdk/gdkframeclock.h
gdk/gdkframeclockidle.c
gdk/gdkframeclockprivate.h